/*
 * @Author: Soulmate
 * @Date: 2023-09-14 14:40:01
 * @LastEditTime: 2023-09-19 11:55:47
 * @LastEditors: Soulmate
 * @Description:
 * @FilePath: \ruoyi-ui-vue3\src\api\index\analysis.ts
 * 版权声明
 */
import axios from 'axios';
import request from '@/utils/request';

/** 门店销售额 */
export async function listPane(query) {
    return (await axios.post('/getPaneList', query))['data'];
}
// 柱状图
export async function chartSaleData(query) {
    return (await axios.post('/getSaleGoodInfo', query))['data'];
}
// 折线图
export async function chartComeInData(query) {
    return (await axios.post('/getComeInfo', query))['data'];
}
// 词云图
export async function wordCloudData(query) {
    return (await axios.post('/getWordCloud', query))['data'];
}
// 顶部订单总数折线数据
export async function chartOrderData(query) {
    return (await axios.post('/getOrderChart', query))['data'];
}
// 顶部订单总数柱状数据
export async function chartPriceData(query) {
    return (await axios.post('/getPriceChart', query))['data'];
}
